package com.gtw.modules.sys.service.impl;


import com.gtw.modules.dao.TbCommissionRatioDao;
import com.gtw.modules.entity.TbCommissionRatio;
import com.gtw.modules.sys.service.SysCommissionRatioService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service("SysCommissionRatioService")
public class SysCommissionRatioServiceImpl implements SysCommissionRatioService {
	@Autowired
	private TbCommissionRatioDao tbCommissionRatioDao;
	
	@Override
	public TbCommissionRatio queryObject(Integer id){
		return tbCommissionRatioDao.queryObject(id);
	}
	
	@Override
	public List<TbCommissionRatio> queryList(Map<String, Object> map){

		 return tbCommissionRatioDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return tbCommissionRatioDao.queryTotal(map);
	}
	
	@Override
	public void save(TbCommissionRatio commissionRatio){
		tbCommissionRatioDao.save(commissionRatio);
	}
	
	@Override
	public void update(TbCommissionRatio commissionRatio){
		tbCommissionRatioDao.update(commissionRatio);
	}
	
	@Override
	public void delete(Integer id){
		tbCommissionRatioDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		tbCommissionRatioDao.deleteBatch(ids);
	}

	@Override
	public TbCommissionRatio queryByUserFisrt() {
		return tbCommissionRatioDao.queryByUserFisrt();
	}

	@Override
	public TbCommissionRatio queryByUserOld() {
		return tbCommissionRatioDao.queryByUserOld();
	}

	@Override
	public TbCommissionRatio queryByProxy() {
		return tbCommissionRatioDao.queryByProxy();
	}

}
